<!DOCTYPE html >
<html>
<head>
<meta name="Generator" content="tpshop" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>折扣商品 - {$tpshop_config['shop_info_store_title']}</title>
<meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<link rel="stylesheet" href="__STATIC__/css/public.css">
<link rel="stylesheet" type="text/css" href="__STATIC__/css/index.css"/>

<script src="__PUBLIC__/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="__STATIC__/js/layer.js" ></script>
<script src="__PUBLIC__/js/global.js"></script>
<script src="__PUBLIC__/js/mobile_common.js"></script>
<link rel="stylesheet" href="__STATIC__/css/font-awesome.min.css">
<link rel="stylesheet" href="__STATIC__/css/icomoon.css">
</head>
<body>
	 	 
<div class="tab_nav tab_nav_none">
    <div class="header">
	<a href="javascript:void(0);" onClick="javascript:history.go(-1);" class="header_l"><i class="fa fa-angle-left"></i></a>
      <div class="h-mid">折扣商品 </div>
	<a href="{:U('Index/index')}" class="header_r"><i class="fa fa-home"></i></a>
	  
    </div>
</div>
<!-- 頭部開始 -->

<include file="Public/header" />
<!-- 頭部結束 -->


              <div class="entrysales-list clearfix" style="margin-top:10px;">

	<div class="i_title"><b>recommendation</b>精品推薦<i class="fa fa-angle-right"></i></div>
	
	
	<div class="floor_body2" >
	  <div id="J_ItemList">
		<ul class="product single_item info">
		</ul>
		<a href="javascript:;" class="get_more" style="text-align:center; display:block;"> 
		<img src='__STATIC__/images/category/loader.gif' width="12" height="12"> </a> 
	  </div>
	  <div id="getmore" style="font-size:.24rem;text-align: center;color:#888;padding:.25rem .24rem 1.4rem;">
		<a href="javascript:void(0)" onClick="getGoodsList()">點擊加載更多</a>
	  </div>
	</div>
	
</div>
      

<script type="text/javascript">
var url = "index.php?m=Mobile&c=Index&a=ajaxGetMore";
$(function(){
	//$('#J_ItemList').more({'address': url});
	getGoodsList();
});

var page = 1;
function getGoodsList(){
	$('.get_more').show();
	$.ajax({
		type : "get",
		url:"/index.php?m=Mobile&c=Index&a=ajaxGetMore&p="+page,
		dataType:'html',
		success: function(data)
		{
			if(data){
				$("#J_ItemList>ul").append(data);
				page++;
				$('.get_more').hide();
			}else{
				$('.get_more').hide();
				$('#getmore').remove();
			}
		}
	}); 
}
</script> 

<include file="Public/footer_nav"/>


    

</body></html>